<include file="../header" />
<body class="J_scroll_fixed">
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script charset="utf-8" src="http://map.qq.com/api/js?v=2.exp&key=FO5BZ-2AC2G-ACAQV-I5BD3-YX65K-76BUB"></script>
<script src="http://open.map.qq.com/apifiles/v1.0/app.js?v=1.0.131203.1" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {

    });
</script>
<div class="wrap jj">
    <div class="common-form">
        <form  id='add' method="post" class="form-horizontal J_ajaxForm" action="{:U('region/edit_post')}">
            <input type="hidden" name='id' value="{$info.region_id}" />
            <fieldset>
                <div class="control-group">
                    <label class="control-label">地区名称:</label>
                    <div class="controls">
                        <input type="text" class="input" name="regionName" value="{$info.region_name}">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">温度范围:</label>
                    <div class="controls">
                        <input type="text" class="input" name="temperatureLowerLimit" value="{$info.temperature_lower_limit}">
                        -
                        <input type="text" class="input" name="temperatureUpperLimit" value="{$info.temperature_upper_limit}">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">湿度范围:</label>
                    <div class="controls">
                        <input type="text" class="input" name="humidityLowerLimit" value="{$info.humidity_lower_limit}">
                        -
                        <input type="text" class="input" name="humidityUpperLimit" value="{$info.humidity_upper_limit}">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">电压范围:</label>
                    <div class="controls">
                        <input type="text" class="input" name="voltageLowerLimit" value="{$info.voltage_lower_limit}">
                        -
                        <input type="text" class="input" name="voltageUpperLimit" value="{$info.voltage_upper_limit}">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">电流范围:</label>
                    <div class="controls">
                        <input type="text" class="input" name="currentLowerLimit" value="{$info.current_lower_limit}">
                        -
                        <input type="text" class="input" name="currentUpperLimit" value="{$info.current_upper_limit}">
                    </div>
                </div>

            </fieldset>

            <div class="form-actions">
                <button id='send' type="submit" class="btn btn-primary">保存</button>
                <a class="btn" href="__URL__">返回</a>
            </div>
        </form>
    </div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>